<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});
Route::get('tool/exec', 'Tool\ToolController@exec');
Route::get('api/amazon/test', 'ApiPlat\Amazon\TestController@test');
Route::get('api/ziniao/test', 'ApiPlat\ZiNiao\TestController@test');
Route::get('api/shopify/test', 'ApiPlat\Shopify\TestController@test');
Route::get('api/rakuten/test', 'ApiPlat\Rakuten\TestController@test');
Route::get('api/amazon/test', 'ApiPlat\Amazon\AmazonController@auth');

Route::get('amazon/auth', 'Amazon\AuthController@oAuth');
